package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void save(AddressBook addressBook);

    List<AddressBook> showAddressBook(AddressBook addressBook);

    List<AddressBook> getDefaultAddress(AddressBook addressBook);

    void update(AddressBook addressBook);

    AddressBook queryById(Long id);

    void deleteById(Long id);

    void setDefaultAddress(AddressBook addressBook);
}
